import app from "./app";
import { env } from "./config/env";
import { redis as _redis } from "./config/redis";
import { mqttClient as _mqttClient } from "./config/mqtt";
import { minio as _minio } from "./config/minio";

async function startServer() {
  const port = env.port;
  app.listen(port, () => {
    console.log(`🚀 Server is running at http://localhost:${port}`);
  });
}

startServer();
